package com.ctsi.crm.sync.entity;

import com.ctsi.framework.common.convert.DateSerializerConvert;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.io.Serializable;

public class CrmSyncEntity implements Serializable {
    /**
     * CRM客户ID
     */
    private String crmCustId;
    /**
     * 营业客户ID
     */
    private String customId;
    /**
     * 营业客户名称
     */
    private String customName;
    /**
     * 商机ID
     */
    private String businessOpportunityId;
    /**
     * 商机名称
     */
    private String businessOpportunityName;
    /**
     *项目ID
     */
    private String projectId;
    /**
     * 项目名称
     */
    private String projectName;
    /**
     * 客户经理身份证号
     */
    private String manCartId;
    /**
     * 项目阶段编码
     */
    private String projectStepCode;
    /**
     * 项目阶段编码
     */
    private String projectStepName;
    /**
     * 支撑请求
     */
    private String supportReq;
    /**
     * 支撑反馈结果
     */
    private String supportResponse;
    /**
     * 流程实例ID
     */
    private String processinstid;
    /**
     * 流程发起时间
     */
    @JsonSerialize(using = DateSerializerConvert.Long2DateTimeSerialize.class)
    private Long flowStartTime;
    /**
     * 流程结束时间
     */
    @JsonSerialize(using = DateSerializerConvert.Long2DateTimeSerialize.class)
    private Long flowOverTime;
    /**
     * 是否办结code
     */
    private Integer flowStateCode;
    /**
     * 是否办结
     */
    private String flowStateName;
    /**
     * 当前环节名称
     */
    private String curTaskName;
    /**
     * 处理流程说明
     */
    private String processDesc;
    /**
     * 客户经理评价
     */
    private String cusMEval;
    /**
     * 支撑类型
     */
    private String supportType;

    public CrmSyncEntity() {
    }

    public String getCrmCustId() {
        return crmCustId;
    }

    public void setCrmCustId(String crmCustId) {
        this.crmCustId = crmCustId;
    }

    public String getCustomId() {
        return customId;
    }

    public void setCustomId(String customId) {
        this.customId = customId;
    }

    public String getBusinessOpportunityId() {
        return businessOpportunityId;
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public void setBusinessOpportunityId(String businessOpportunityId) {
        this.businessOpportunityId = businessOpportunityId;
    }

    public String getBusinessOpportunityName() {
        return businessOpportunityName;
    }

    public void setBusinessOpportunityName(String businessOpportunityName) {
        this.businessOpportunityName = businessOpportunityName;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getManCartId() {
        return manCartId;
    }

    public void setManCartId(String manCartId) {
        this.manCartId = manCartId;
    }

    public String getProjectStepCode() {
        return projectStepCode;
    }

    public void setProjectStepCode(String projectStepCode) {
        this.projectStepCode = projectStepCode;
    }

    public String getProjectStepName() {
        return projectStepName;
    }

    public void setProjectStepName(String projectStepName) {
        this.projectStepName = projectStepName;
    }

    public String getSupportReq() {
        return supportReq;
    }

    public void setSupportReq(String supportReq) {
        this.supportReq = supportReq;
    }

    public String getSupportResponse() {
        return supportResponse;
    }

    public void setSupportResponse(String supportResponse) {
        this.supportResponse = supportResponse;
    }

    public String getProcessinstid() {
        return processinstid;
    }

    public void setProcessinstid(String processinstid) {
        this.processinstid = processinstid;
    }

    public Long getFlowStartTime() {
        return flowStartTime;
    }

    public void setFlowStartTime(Long flowStartTime) {
        this.flowStartTime = flowStartTime;
    }

    public Long getFlowOverTime() {
        return flowOverTime;
    }

    public void setFlowOverTime(Long flowOverTime) {
        this.flowOverTime = flowOverTime;
    }

    public Integer getFlowStateCode() {
        return flowStateCode;
    }

    public void setFlowStateCode(Integer flowStateCode) {
        this.flowStateCode = flowStateCode;
    }

    public String getFlowStateName() {
        return flowStateName;
    }

    public void setFlowStateName(String flowStateName) {
        this.flowStateName = flowStateName;
    }

    public String getCurTaskName() {
        return curTaskName;
    }

    public void setCurTaskName(String curTaskName) {
        this.curTaskName = curTaskName;
    }

    public String getProcessDesc() {
        return processDesc;
    }

    public void setProcessDesc(String processDesc) {
        this.processDesc = processDesc;
    }

    public String getCusMEval() {
        return cusMEval;
    }

    public void setCusMEval(String cusMEval) {
        this.cusMEval = cusMEval;
    }

    public String getSupportType() {
        return supportType;
    }

    public void setSupportType(String supportType) {
        this.supportType = supportType;
    }

    @Override
    public String toString() {
        return "CrmSyncEntity{" +
                "crmCustId='" + crmCustId + '\'' +
                ", customId='" + customId + '\'' +
                ", customName='" + customName + '\'' +
                ", businessOpportunityId='" + businessOpportunityId + '\'' +
                ", businessOpportunityName='" + businessOpportunityName + '\'' +
                ", projectId='" + projectId + '\'' +
                ", projectName='" + projectName + '\'' +
                ", manCartId='" + manCartId + '\'' +
                ", projectStepCode='" + projectStepCode + '\'' +
                ", projectStepName='" + projectStepName + '\'' +
                ", supportReq='" + supportReq + '\'' +
                ", supportResponse='" + supportResponse + '\'' +
                ", processinstid='" + processinstid + '\'' +
                ", flowStartTime=" + flowStartTime +
                ", flowOverTime=" + flowOverTime +
                ", flowStateCode=" + flowStateCode +
                ", flowStateName='" + flowStateName + '\'' +
                ", curTaskName='" + curTaskName + '\'' +
                ", processDesc='" + processDesc + '\'' +
                ", cusMEval='" + cusMEval + '\'' +
                ", supportType='" + supportType + '\'' +
                '}';
    }
}
